package top.lilele.adminSystem.dto;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * @author lilele
 */
@Data
public class LoginDto implements Serializable {

    @NotEmpty(message = "用户名不能为空")
    private String username;

    @NotEmpty(message = "密码不能为空")
    private String password;

    @NotEmpty(message = "验证码不能为空")
    private String code;

    @NotEmpty(message = "唯一id不能为空")
    private String uid;
}
